package com.bw.service;

import com.bw.entity.HouseAddParam;
import com.bw.mapper.HouseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class HouseServiceImpl implements HouseService{

    @Autowired
    HouseMapper houseMapper;


    @Transactional
    @Override
    public void addHouse(HouseAddParam addParam) {
        houseMapper.addHouse(addParam);
    }
}
